package net.apexes.demo.codegen.ormlite.entity;


/**
 * PriceStrategy. the database table "PRICE_STRATEGY"
 */
public class PriceStrategy extends net.apexes.demo.codegen.entity.base.EntityBase {

    private static final long serialVersionUID = 1L;

    /**
     * TEMPLATE_ID
     */
    private String templateId;

    /**
     * NAME
     */
    private String name;

    /**
     * DESCRIPTION
     */
    private String description;

    /**
     * EFFECTIVE_TIME
     */
    private java.time.LocalDateTime effectiveTime;

    /**
     * EXPIRE_TIME
     */
    private java.time.LocalDateTime expireTime;

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public java.time.LocalDateTime getEffectiveTime() {
        return effectiveTime;
    }

    public void setEffectiveTime(java.time.LocalDateTime effectiveTime) {
        this.effectiveTime = effectiveTime;
    }

    public java.time.LocalDateTime getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(java.time.LocalDateTime expireTime) {
        this.expireTime = expireTime;
    }

    public void cloneFrom(PriceStrategy from) {
        this.templateId = from.templateId;
        this.name = from.name;
        this.description = from.description;
        this.effectiveTime = from.effectiveTime;
        this.expireTime = from.expireTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(super.toString());
        sb.append(",templateId=").append(templateId);
        sb.append(",name=").append(name);
        sb.append(",description=").append(description);
        sb.append(",effectiveTime=").append(effectiveTime);
        sb.append(",expireTime=").append(expireTime);
        return sb.toString();
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

}

